﻿<%@ control language="VB" autoeventwireup="false" inherits="controls_CompraVentaMonedas, App_Web_vfbk0y9u" %>
<br />
<table align="center" cellpadding="0" cellspacing="0" style="width: 650px">
    <tr>
        <td style="height: 19px">
            &nbsp;<strong><span style="font-family: Verdana">Operaciones de compra-venta de monedas</span></strong></td>
    </tr>
    <tr>
        <td align="center">
            <asp:Label ID="lblError" runat="server" BackColor="Red" ForeColor="White" Width="100%"></asp:Label></td>
    </tr>
    <tr>
        <td>
            <table style="width: 100%" background="Img/top_nav_back.jpg">
                <tr>
                    <td>
                        &nbsp;</td>
                    <td valign="bottom">
                        <asp:Label ID="Label1" runat="server" Text="Operacion" ForeColor="White"></asp:Label></td>
                    <td valign="bottom">
                        <asp:Label ID="Label2" runat="server" ForeColor="White">Moneda</asp:Label></td>
                    <td valign="bottom">
                        <asp:Label ID="Label3" runat="server" ForeColor="White">Importe</asp:Label></td>
                    <td valign="bottom">
                        <asp:Label ID="Label4" runat="server" ForeColor="White">Comision</asp:Label></td>
                    <td style="width: 8px" valign="bottom">
                        <asp:Label ID="Label5" runat="server" ForeColor="White">Cambio</asp:Label></td>
                    <td valign="bottom">
                        <asp:Label ID="Label6" runat="server" ForeColor="White">Contravalor</asp:Label></td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                    <td>
                        <asp:DropDownList ID="cmbOperacion" runat="server">
                        </asp:DropDownList></td>
                    <td>
                        <asp:DropDownList ID="cmbMoneda" runat="server">
                        </asp:DropDownList></td>
                    <td>
                        <asp:TextBox ID="txtImporte" runat="server" Width="80px" Style="text-align: center"></asp:TextBox></td>
                    <td>
                        <asp:TextBox ID="txtComision" runat="server" Width="80px" Style="text-align: right" ReadOnly="True"></asp:TextBox></td>
                    <td style="width: 8px">
                        <asp:TextBox ID="txtCambio" runat="server" Width="80px" Style="text-align: right" ReadOnly="True"></asp:TextBox></td>
                    <td>
                        <asp:TextBox ID="txtContravalor" runat="server" Width="80px" Style="text-align: right" Font-Bold="true" ReadOnly="True"></asp:TextBox></td>
                    <td>
                        <asp:Button ID="cmdCalcular" runat="server" CssClass="Butt" Text="Calcular..." /></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="GV" runat="server" Width="100%" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None">
                <HeaderStyle CssClass="HeadGV" BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:BoundField DataField="cvm_ID" HeaderText="Factura" />
                    <asp:BoundField DataField="cvm_Fecha" DataFormatString="{0:d}" HeaderText="Fecha"
                        HtmlEncode="False" />
                    <asp:BoundField DataField="cvm_Hora" HeaderText="Hora" />
                    <asp:BoundField DataField="Us_Login" HeaderText="Usuario" />
                    <asp:BoundField DataField="cvop_Operacion" HeaderText="Opr." />
                    <asp:BoundField DataField="mcv_Moneda" HeaderText="Moneda" />
                    <asp:BoundField DataField="cvm_Importe" DataFormatString="{0:n2}" HeaderText="Importe"
                        HtmlEncode="False">
                        <ItemStyle Font-Bold="True" HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="cvm_Cambio" DataFormatString="{0:n4}" HeaderText="Cambio"
                        HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="cvm_Comision" DataFormatString="{0:n2}" HeaderText="Comision"
                        HtmlEncode="False">
                        <ItemStyle HorizontalAlign="Right" />
                    </asp:BoundField>
                    <asp:BoundField DataField="cvm_Contravalor" DataFormatString="{0:n2}" HeaderText="Contravalor"
                        HtmlEncode="False">
                        <ItemStyle Font-Bold="True" HorizontalAlign="Right" />
                    </asp:BoundField>
                </Columns>
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <EditRowStyle BackColor="#999999" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
        </td>
    </tr>
    <tr>
        <td style="height: 19px">
        </td>
    </tr>
</table>
